package stage1;
//圆的面积
public class Circle extends Shape{
    double r;
    double PI = 3.1415927;
    @Override
    public double calArea() {
        return Math.pow(r,2)*PI;
    }
    public Circle (double r){
        this.r=r;
    }
}
